﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reporte.aspx.cs" Inherits="MvcReportViewer.Reports.EstMantenimiento.Reporte" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="../../Content/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/themes/le-frog/jquery.ui.theme.css" rel="stylesheet" type="text/css" />
    <%--<link href="../../Content/Style.css" rel="stylesheet" media="screen" type="text/css" />--%>
    <%--<link href="../../Content/themes/le-frog/jquery.ui.theme.css" rel="stylesheet" type="text/css" />--%>

    <script src="/Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="/Scripts/MonRepScript.js" type="text/javascript"></script>
    <style type="text/css">
        .date {display: inline-block;}
        .date {*display: inline;}
        .style1
        {
            width: 244px;
        }
        .style2
        {
            width: 248px;
        }
        .style3
        {
            width: 231px;
        }
    </style>
</head>
<body>
<form id="form1" runat="server">
<div id="panelsup">

    <asp:Panel ID="Panel1" runat="server" BackColor="#ECE9D8" Height="59px" 
        Width="100%">
        <table style="width: 100%; height: 16px; margin-top: 0px;">
            <tr>
                <td class="style3">
                    <asp:Label ID="Label1" runat="server" Text="Serial"></asp:Label>
                    &nbsp;<asp:TextBox ID="txtSerial" runat="server" Width="112px"></asp:TextBox>
                </td>
                <td class="style2"><table>
                    <tr><td rowspan="1">
                            <asp:Label ID="Label2" runat="server" Text="Fecha Inicio Mtto"></asp:Label>
                        </td><td>
                            <asp:TextBox ID="txtFechaInid" runat="server" class="date" Width="99px"></asp:TextBox>
                        </td>
                    </tr><tr><td align="right">hasta:</td>
                        <td>
                            <asp:TextBox ID="txtFechaInih" runat="server" class="date" Width="99px"></asp:TextBox>
                        </td>
                    </tr>
                    </table>
                </td>
                <td class="style1">
                    <table>
                    <tr><td rowspan="1">
                            <asp:Label ID="Label3" runat="server" Text="Fecha Final Mtto"></asp:Label>
                        </td><td>
                            <asp:TextBox ID="txtFechaFind" runat="server" class="date" Width="99px"></asp:TextBox>
                        </td>
                    </tr><tr><td align="right">hasta:</td>
                        <td>
                            <asp:TextBox ID="txtFechaFinh" runat="server" class="date" Width="99px"></asp:TextBox>
                        </td>
                    </tr>
                    </table>
                </td>
                <td>
                    &nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                        Text="Filtrar" />
                </td>
            </tr>
        </table>

    </asp:Panel>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"  AsyncRendering="False"
        Width="80%" Height="675px" Font-Size="8pt" SizeToReportContent="True" 
        InteractiveDeviceInfos="(Colección)" WaitMessageFont-Names="Verdana" 
        WaitMessageFont-Size="14pt" >
            <LocalReport ReportPath="REP\REP_EstMantenimiento.rdl">
            </LocalReport>
    </rsweb:ReportViewer>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        $("#<%= txtFechaInid.ClientID %>").ponFecha();
        $("#<%= txtFechaFind.ClientID %>").ponFecha();
        $("#<%= txtFechaInih.ClientID %>").ponFecha();
        $("#<%= txtFechaFinh.ClientID %>").ponFecha();
    });
</script>

</form>
</body>
</html>